package com.example.liuhu;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Record {
    @Excel(name = "日期", width = 15, format = "yyyy.MM.dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy.MM.dd")
    @DateTimeFormat(pattern="yyyy.MM.dd")
    Date date;
    @Excel(name = "摘要", width = 22)
    String content;

}
